<?php
$html = @file_get_contents("http://www.klikbca.com/");
$doc = new DOMDocument();
@$doc->loadHTML($html);
$table = $doc->getElementsByTagName("table");
for ($i = 0; $i < $table->length; $i++){
	if($i==8){
		$inner = ""; 
		$element = $table->item($i); 
		$children = $element->childNodes; 
		foreach ($children as $child){ 
			$tmp_dom = new DOMDocument(); 
			$tmp_dom->appendChild($tmp_dom->importNode($child, true)); 
			$inner.=trim($tmp_dom->saveHTML()); 
		} 
		echo "<table>".$inner."</table>";
	}
}
?>